import Vue from 'vue'
import App from './App'

// 引入uView
import uView from 'uview-ui';
Vue.use(uView);

// 引入常用JS方法
import dm from '@/common/dm.js'
Vue.prototype.$dm = dm

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})

// 引入http全局请求配置
import httpConfig from '@/common/http.config.js'
Vue.use(httpConfig, app)

// 引入http接口API集中管理
import httpApi from '@/common/http.api.js'
Vue.use(httpApi, app)

app.$mount()
